﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi.Models
{
    /// <summary>
    /// 新闻-技巧表模型
    /// </summary>
    public class NewsGetData
    {
        /// <summary>
        /// 新闻 ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 新闻封面图片地址
        /// </summary>
        public string cover { get; set; }
        /// <summary>
        /// 新闻标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 新闻内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 发布日期
        /// </summary>
        public string publishDate { get; set; }
        /// <summary>
        /// 评论数
        /// </summary>
        public int commentNum { get; set; } = 0;
        /// <summary>
        /// 点赞数
        /// </summary>
        public int likeNum { get; set; } = 0;
        /// <summary>
        ///  新闻类型 id
        /// </summary>
        public string type { get; set; }

    }
}
